package com.ten.stat.service.impl;

import com.ten.common.core.vo.Result;
import com.ten.stat.dao.OrderDao;
import com.ten.stat.service.OrderService;
import com.ten.stat.vo.EduSubjectVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：王薪伟
 * @date ：Created in 2022/12/9 15:03
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public Result<List<EduSubjectVo>> findTitle() {
        List<EduSubjectVo> eduSubjectVo = orderDao.selectTitle();
        return new Result<List<EduSubjectVo>>(2000,"查询成功",eduSubjectVo);
    }
}
